package com.zch.market.dao;

import java.util.List;
import java.util.Map;

import com.zch.market.entity.User;

/**
 * 数据库用户登录获取接口
 * @author Administrator
 *
 */
public interface UserMapper {
	public List<User> getUserByPage(Map<String,Object> map);
	public int getTotalCount(Map<String,Object> map);
	public User getUserById(int id);
	public boolean addUser(User user);
	public boolean deleteUser(int id);
	public boolean updateUser(User user);
	public User getUserByName(String userName);
	
}
